package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "base_user")
public class BaseUser implements Serializable {

    private ObjectId id;//id数据

    private Long userId;

    private String personalSignature;//个性签名

    private String userStatus;//用户状态

    private Long lastActiveTime;//最近活跃时间

    private String lastLoginLocation;//最近登陆地

    private String isFreeze;//是否冻结过

    private String  reasonFreeze;//解冻原因

    private String logoStatus;//头像状态 ,1通过，2拒绝

}
